﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace GameLogic.Logic
{
    public class CollisionEventArgs : EventArgs
    {
        public IEnumerable<CollisionInformation> CollisionInformation
        {
            get;
            private set;
        }

        public CollisionEventArgs(IList<CollisionInformation> collisions)
        {
            this.CollisionInformation = new ReadOnlyCollection<CollisionInformation>(collisions);
        }
    }
}
